package com.thams.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.thams.dao.base.DataBaseDao;
import com.thams.dao.i.ITestDao;
import com.thams.entity.Test;

public class TestDao extends DataBaseDao implements ITestDao {

	@Override
	public List<Test> getTestList()  throws DataAccessException{
		return getConn().queryForList("TEST.getTestList");
	}
	public void addTest(Test t1) throws DataAccessException{
		getConn().insert("TEST.insertTest",t1);
	}

}
